﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            LetterNPC l = new LetterNPC("送信NPC",NpcType.task,"送信");
            KillBoosNPC k = new KillBoosNPC("杀怪NPC", NpcType.task, "杀怪");
            GatherNPC g = new GatherNPC("采集NPC", NpcType.task, "采集");
            WeaponNPC w = new WeaponNPC("武器NPC", NpcType.shop, "卖武器");
            MaterialsNPC m = new MaterialsNPC("材料NPC", NpcType.shop, "卖材料");
            FoodNPC f = new FoodNPC("食物NPC", NpcType.shop, "卖食物");
            RepairNPC p = new RepairNPC("修补NPC", NpcType.iron, "修补");
            IntensifyNPC i = new IntensifyNPC("强化NPC", NpcType.iron, "强化");
            ForgeNPC forge = new ForgeNPC("打造NPC", NpcType.iron, "打造");
            Test(l);
            Test(k);
            Test(g);
            Test(w);
            Test(m);
            Test(f);
            Test(p);
            Test(i);
            Test(forge);
        }
        static void Test(TaskNPC l)
        {
            l.Speak();
        }
        static void Test(ShopNPC l)
        {
            l.Speak();
        }
        static void Test(IronNPC l)
        {
            l.Speak();
        }
    }
}
